const proxy = require('http-proxy-middleware');

module.exports = function (app) {
    app.use(proxy.createProxyMiddleware('/manager',{
        target: "http://localhost:8080",
        pathRewrite:{"^/manager/rest":"/"},
        changeOrigin: true
    }));
};
